<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>login</title>
</head>
<body>
<p>loginPage</p>
    <hr>
    <form th:action="@{/login}" method="post">
        <label style="color: red;font-size: small">[[${msg}]]</label><br>
        用户名：<input type="text" name="name"><br>
        密码：<input type="password" name="password"><br>
        <input type="submit">
    </form>
</body>
</html>